package com.zhou.org.dto;

import com.zhou.framework.model.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * @author lang.zhou
 * @date 2022/8/24 9:59
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("组织架构查询模型")
public class OrgQueryDto extends PageParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("组织架构id")
    private Integer orgId;

    @NotEmpty(message = "组织架构类型不能为空")
    @ApiModelProperty("组织架构类型")
    private List<Integer> orgTypes;

}
